/*
 * Copyright (c) csii.com.cn 2016 zhaojin
 */
({
    appDir: '../../static',
    baseUrl: "./js",
    dir: "../../build",
    fileExclusionRegExp: /^(r|build|main)\.js$/,
    optimizeCss: 'standard',
    removeCombined: true,
    paths: {
        'domReady': 'bower_components/requirejs-domReady/domReady',
        'underscore': 'bower_components/underscore/underscore-min',
        'jquery': 'bower_components/jquery/dist/jquery.min',
        'zepto': 'bower_components/zepto/zepto.min',
        'touch': 'bower_components/zeptotouch/zepto-touch.min',
        'detect': 'bower_components/zepto-detect/zepto-detect.min',
        'zepto-custom': 'zepto-custom',
        'SparkMD5':'bower_components/SparkMD5/spark-md5'
    },
    map: {
        '*': {
            'zepto': 'zepto-custom'
        }, 'zepto-custom': {
            'zepto': 'zepto'
        }
    },
    shim: {
        underscore: {
            exports: '_'
        },
        'lazyload': {
            exports: 'LazyLoad'
        }, 'jquery': {
            exports: 'jQuery'
        }, 'zepto': {
            exports: 'Zepto'
        }, 'touch': {
            deps: ['zepto']
        }, 'detect': {
            deps: ['zepto']
        },'zepto-custom':{
            exports: ['$']
        }
    },
    modules: [
        {
            name:'mainpro',
            include: [
                'domReady',
                'underscore',
                'app'
            ],
            exclude: ['zepto-custom']
        }
    ]
})